package com.mo.common.persistence.model;


/**
 * <p>
 * 
 * </p>
 *
 * @author chenxiaodong
 * @since 2017-07-11
 */
public class ImageParam {

    private static final long serialVersionUID = 1L;

    private Integer id ;
    private String path ;
    private String sourceFileName ;
    private String targetFileName ;
    private String compressName ;
    private Integer w ;
    private Integer h ;
    private Integer x1 ;
    private Integer y1 ;
    private Integer x2 ;
    private Integer y2 ;
    private String fileFormat ;
    

	public String getCompressName() {
		return compressName;
	}


	public void setCompressName(String compressName) {
		this.compressName = compressName;
	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public String getPath() {
		return path;
	}


	public void setPath(String path) {
		this.path = path;
	}


	public String getSourceFileName() {
		return sourceFileName;
	}


	public void setSourceFileName(String sourceFileName) {
		this.sourceFileName = sourceFileName;
	}


	public String getTargetFileName() {
		return targetFileName;
	}


	public void setTargetFileName(String targetFileName) {
		this.targetFileName = targetFileName;
	}


	public Integer getW() {
		return w;
	}


	public void setW(Integer w) {
		this.w = w;
	}


	public Integer getH() {
		return h;
	}


	public void setH(Integer h) {
		this.h = h;
	}


	public Integer getX1() {
		return x1;
	}


	public void setX1(Integer x1) {
		this.x1 = x1;
	}


	public Integer getY1() {
		return y1;
	}


	public void setY1(Integer y1) {
		this.y1 = y1;
	}


	public Integer getX2() {
		return x2;
	}


	public void setX2(Integer x2) {
		this.x2 = x2;
	}


	public Integer getY2() {
		return y2;
	}


	public void setY2(Integer y2) {
		this.y2 = y2;
	}

	public String getFileFormat() {
		return fileFormat;
	}

	public void setFileFormat(String fileFormat) {
		this.fileFormat = fileFormat;
	}

	@Override
	public String toString() {
		return "Test{with：" +w+",hight:"+h+
			"---" + path +
			"/" + sourceFileName +
			" to " +
			path +
			"/" + targetFileName +
			"}";
	}
}
